package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcSoleDetailAttach;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2024-11-20
 */
public interface PcSoleDetailAttachMapper extends BaseMapper<PcSoleDetailAttach> {

    /**
     * 批量写入
     * @param attachList 写入数据
     */
    void batchInsert(@Param("attachList") List<PcSoleDetailAttach> attachList);

    /**
     * 根据SLIP_NO,SIZE_NO更新QTY
     * @param attachList 更新后数量数据
     * @param companyId 公司ID
     */
    void attachUp(@Param("attachList") List<PcSoleDetailAttach> attachList, @Param("companyId") String companyId);


    void printUp(@Param("printNo") String printNo, @Param("partType") String partType, @Param("companyId") String companyId);
}
